package com.seata.demo.cloud.service;

import com.seata.demo.cloud.dao.AccountDao;
import com.seata.demo.cloud.dto.AccountDTO;
import io.seata.rm.tcc.api.BusinessActionContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AccountTccActionImpl implements AccountTccAction{
    @Autowired
    AccountDao accountDao;
    @Override
    public boolean reduceBalance(AccountDTO accountDTO) {
        return false;
    }

    @Override
    public boolean commit(BusinessActionContext businessActionContext) {
        return false;
    }

    @Override
    public boolean cancel(BusinessActionContext businessActionContext) {
        return false;
    }
}
